/*!
 * Copyright 2019 WeBank
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

@import '~@/common/style/variables.scss';
.we-import-to-hive {
    min-height: 480px;
    padding: 20px 20px 0;
    padding-top: 0;
    color: #787878;
    position: relative;
    overflow: hidden;
    &.first-step {
        overflow: auto;
    }
    .we-import-to-hive-steps {
        padding-bottom: 9px;
    }
    .we-import-to-hive-form {
        .step-progress {
            height: 500px;
            position: absolute;
            width: 740px;
            display: flex;
            z-index: 999;
            background-color: rgba(0, 0, 0, 0.3);
            align-items: center;
            justify-content: center;
        }
        .step-form-title {
            font-size: $font-size-large;
            color: $primary-color ;
            display: block;
            margin: 0 0 9px;
        }
        .step-form-field {
            display: inline-block;
            margin-right: 10px;
        }
        .step-form-extras {
            margin: 6px 4px 0 5px;
        }
        .seconed-Form {
            display: flex;
            flex-direction: column;
            .field-list-wrap {
                .field-list-item {
                    .field-list-item-child {
                        margin-bottom: 20px;
                        display: inline-block;
                        .field-list-item-child-label {
                            display: inline-block;
                            width: 30px;
                            text-align: right;
                            vertical-align: middle;
                            margin-right: 10px;
                            margin-left: 4px;
                        }
                        .field-list-item-child-type,
                        .field-list-item-child-comment,
                        .field-list-item-child-option,
                        .field-list-item-child-length,
                        .field-list-item-child-time {
                            display: inline-block;
                            margin: 0 2px;
                        }
                        .field-list-item-child-type {
                            width: 104px;
                        }
                        .field-list-item-child-option {
                            width: 81px;
                        }
                        .field-list-item-child-length {
                            width: 166px;
                        }
                        .field-list-item-child-time {
                            width: 122px;
                        }
                        .field-list-item-child-comment {
                            width: 104px;
                        }
                    }
                    .step-form-close,
                    .step-form-extras {
                        cursor: pointer;
                    }
                    .step-form-close {
                        padding-top: 6px;
                    }
                }
            }
        }
        .step-form-type-supplement {
            margin-left: 157px;
        }
        .item-auto-complete {
            .ivu-select-dropdown-list {
                height: 300px;
            }
        }
        .form-item-help-icon {
            position: absolute;
            left: -12px;
            top: 10px;
        }
        .step-form-fields {
            display: inline-flex;
            .form-item-inline {
                width: 220px;
                display: inline-block;
            }
        }
    }
}

.we-import-to-hive-errmsg {
    color: $error-color;
    position: absolute;
    left: 24px;
    font-size: 12px;
    display: inline-block;
    width: 380px;
    text-align: left;
}

.ivu-auto-complete.ivu-select-dropdown {
    max-height: 120px;
}
